import request from '@/utils/request';

export async function reqTyDemandOrderMedicineList(data: any, options?: any): Promise<any> {
	return request('/api/sys/demandOrderMedicine/list', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqAddTyDemandOrderMedicine(data: any, options?: any): Promise<any> {
	return request('/api/sys/demandOrderMedicine/create', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqUpdateTyDemandOrderMedicine(data: any, options?: any): Promise<any> {
	return request('/api/sys/demandOrderMedicine/update', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqDeleteTyDemandOrderMedicine(data: any, options?: any): Promise<any> {
	return request('/api/sys/demandOrderMedicine/delete', {
		method: 'POST',
		data,
		...(options || {}),
	});
}


